Repository navigation
[release/17.0] Fix trace attribute filter freezing the traces page - #21997
Jose Perez Rodriguez (joperezr) merged 2 commits into
Conversation
The per-span attribute check in the trace field filter compared attribute_key with COLLATE NOCASE, which let SQLite choose ix_telemetry_span_attributes_key_value_owner. That index can't seek on trace_id/span_id after a LIKE on the value, so every span scanned all rows for the key and the query grew quadratically with span count. Using +a.attribute_key keeps the lookup on the span's own attributes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 21997Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 21997" |
Tests selector13 / 101 PR test projects · 2 PR jobs, from 1 changed file. Selected PR test projects (13 / 101)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project Job reasons
Selection computed for commit |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
0ce7a21
into
release/17.0
|
✅ No documentation update needed. Step 5 branch: excluded → head_branch_is_backport, title_release_prefix, body_backport_marker (plus base_branch_is_release). The PR is a backport of #21910 to release/17.0, so docs belong with the original PR. Triggered signals: none. The only changed file is a dashboard storage bug fix (SqliteTelemetryRepository.Traces.Reads.cs). |
Backport of #21910 to release/17.0
/cc James Newton-King (@JamesNK) Samson Amaugo (@sammychinedu2ky)
Customer Impact
Testing
Risk
Regression?